﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sec_scan安全漏洞扫描系统_2._0.Api
{
    public class PortScan_Api
    {
        public static string P1 {  get; set; }
        /// <summary>
        /// 最大线程
        /// </summary>
        public static int Max {  get; set; }
        /// <summary>
        /// 起始端口 默认为1
        /// </summary>
        public static int StrPort { get; set; } = 1;
        /// <summary>
        /// 结束端口 默认65535
        /// </summary>
        public static int EndPort { get; set; } = 65535;
        /// <summary>
        /// 默认端口 int数组
        /// </summary>
        public static int[] DePort { get; set; }
        /// <summary>
        /// 扫描的IP地址
        /// </summary>
        public static string Ip {  get; set; }
        /// <summary>
        /// 正常结果传出
        /// </summary>
        public static StringBuilder Info { get; set; } = new StringBuilder();
        /// <summary>
        /// 异常结果传出
        /// </summary>
        public static StringBuilder Error { get; set; } = new StringBuilder();
    }
}
